of

open fun of(inputStream: InputStream): X509Certificate

Creates a X.509 certificate object and initializes it with the data read from the given inputStream.

Return

a certificate object initialized with the data from the input stream

Parameters

inputStream

an input stream with the certificate data

Throws

on parsing errors